package dao;

import java.util.List;

import org.apache.commons.collections.MultiMap;

import model.Thuoc;

public interface ThuocDAO extends GenericDAO<Thuoc, Long> {
	public List<Thuoc> findAllThuocByIdLoaiThuoc(long id);

	public List<Thuoc> findByTenLoaiThuoc(String name);

	public List<Thuoc> findByTenThuoc(String name);

	public List<Thuoc> findByThanhPhan(String name);

	public List<Thuoc> findByChiDinh(String name);

	public List<Thuoc> findByChongChiDinh(String name);

	public List<Thuoc> findByNhaSanXuat(String name);

	public List<Thuoc> findByQuyCachDongGoi(String name);

	public List<Thuoc> findByOneCondition(String criteria, String keyWord);

	public List<Thuoc> findByKeyWord(String keyWord);

	public List<Thuoc> findByManyConditions(MultiMap conditions);

}
